<?php if(!empty($output['bargain_list']) && is_array($output['bargain_list'])){ ?>
    <?php foreach($output['bargain_list'] as $k=>$v ){ ?>
        <div class="commodity">

            <div class="img">
                <?php if($v['is_hot']==1){ ?>
                    <img class="icon" src="resource/images/img-20-1.png">
                <?php } ?>
                <img src="<?php echo getbargain_img($v['bg_thumb']) ?>" />
            </div>
            <div class="information">
                <p><?php echo  $v['bg_title']; ?></p>
                <?php if($v['is_hot']==1) {?>
                    <span style="font-size: .8rem;text-align: center;line-height: 1.3rem;padding:0 .5%; ">仅限<?php echo $v['bg_store']; ?>份</span>
                <?php } ?>
                <p class="participants" style="font-size: .8rem;"><?php echo $v['bg_rs']; ?>人参与</p>

                <div class="price">
                    <p class="originalPrice" style="font-size: .8rem;">原价 <span>￥<?php echo $v['bg_price']; ?></span>  </p>
                    <p class="floorPrice" style="font-size: 1.1rem;">最低价  <span>￥<?php echo $v['bg_floorprice']; ?></span>   </p>
                </div>
                <a href="index.php?act=bargain&op=bargain_info&bargain_id=<?php echo $v['bargain_id']; ?>">我要参与</a>
            </div>
        </div>
    <?php } ?>

<?php }?>